package com.zynn.service.module.recommend.service;

import com.baomidou.mybatisplus.service.IService;
import com.zynn.service.module.recommend.entity.SchoolFriendWithWeight;

import java.util.List;
import java.util.Map;

/**
 * @author jerry-liqi
 *
 * 推荐 interface
 */
public interface RecommendService extends IService<SchoolFriendWithWeight> {



    List<SchoolFriendWithWeight> getRecommendSchoolFriends(Long userId);


    /**
     * 查询同校好友
     *
     * @param userId
     * @param gradeId
     * @param departmentId
     * @param sex
     * @param pageIndex
     * @return
     */
    Map<String,Object> recommendSchoolV2(Long userId,Long gradeId,Long departmentId,Integer sex,Integer pageIndex);
}
